<?php

	#doc
	#	classname:	news_type
	#	scope:		PUBLIC
	#
	#/doc
	
	class news_type extends CActiveRecord
	{
		#	internal variables

		#	Constructor
		public static function model($className=__CLASS__)
		{
			return parent::model($className);
		}

		public function tableName()
		{
			return 'news_type';
		}
		
		public function type_news()
		{
			return $this->findAll();

		}
	
	}
	###

?>